package com.example.logistics_oa.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.comment_oa.pojos.JobcorresSubsidy;
import com.example.comment_oa.pojos_vo.BuTieChaXunVo;
import com.example.logistics_oa.service.JobcorresSubsidyService;
import com.example.logistics_oa.mapper.JobcorresSubsidyMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 安徽彭于晏
* @description 针对表【jobcorres_subsidy】的数据库操作Service实现
* @createDate 2022-10-17 17:28:00
*/
@Service
public class JobcorresSubsidyServiceImpl extends ServiceImpl<JobcorresSubsidyMapper, JobcorresSubsidy>
    implements JobcorresSubsidyService{

    @Autowired
    JobcorresSubsidyMapper jobcorresSubsidyMapper;


    @Override
    public List<JobcorresSubsidy> selectAll(BuTieChaXunVo buTieChaXunVo) {
        return jobcorresSubsidyMapper.selectAll(buTieChaXunVo);
    }

    @Override
    public int updateButieStatus(int jcsId) {
        return jobcorresSubsidyMapper.updateButieStatusJin(jcsId);
    }

    @Override
    public int updateButieStatusQi(int jcsId) {
        return jobcorresSubsidyMapper.updateButieStatusQi(jcsId);
    }

    @Override
    public int updateButieMoney(Double jcsMoney, int jcsId) {
        return jobcorresSubsidyMapper.updateButieMoney(jcsMoney, jcsId);
    }

    @Override
    public List<JobcorresSubsidy> selectZhiWeiIdAndName() {
        return jobcorresSubsidyMapper.selectZhiWeiIdAndName();
    }

    @Override
    public int insertJiLu(JobcorresSubsidy jobcorresSubsidy) {
        return jobcorresSubsidyMapper.insertJiLu(jobcorresSubsidy);
    }

    @Override
    public JobcorresSubsidy selectOneByJcsjobid(int jcsjobid) {
        return jobcorresSubsidyMapper.selectOneByJcsjobid(jcsjobid);
    }

    @Override
    public List<JobcorresSubsidy> selectBumenAndBumenName() {
        return jobcorresSubsidyMapper.selectBumenAndBumenName();
    }

    @Override
    public List<JobcorresSubsidy> selectGenJuTiaoJian(int jcsDepartmentid, String jcsDepartmentname, Double jcsMoney) {
        return jobcorresSubsidyMapper.selectGenJuTiaoJian(jcsDepartmentid, jcsDepartmentname, jcsMoney);
    }

    @Override
    public List<JobcorresSubsidy> selectBuTieXiangQing(int jcsJobid, int jcsDepartmentid) {
        return jobcorresSubsidyMapper.selectBuTieXiangQing(jcsJobid, jcsDepartmentid);
    }

    @Override
    public List<JobcorresSubsidy> selectBuTieXiangQingAnd(int jcsJobid, int jcsDepartmentid) {
        return jobcorresSubsidyMapper.selectBuTieXiangQingAnd(jcsJobid,jcsDepartmentid);
    }


}




